/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2025-04-27
 * Time: 14:38
 */
public class demo5 {
    public static void main(String[] args) {
        double a = 3,
                b = 5,
                c = 1,
                d = 3.4,
                e = 2,
                f = 50,
                sum = a + b + c + d + e + f,
                avg = sum / 6;
        System.out.println(sum);
        System.out.println(avg);

    }
}
